package com.xp.flower.qsd.share.token;


public class JsApiTicket extends BaseEntity 
{
	private static final long serialVersionUID = 3139186710471910461L;

	private String ticket;			// JS接口的临时票据
	private int expiresIn; 			// 凭证有效时间，单位：秒
	private long lastTime;			// 最后一次获取时间
	
	public JsApiTicket()
	{}
	
	public JsApiTicket(String ticket, int expiresIn, long lastTime)
	{
		this.ticket = ticket;
		this.expiresIn = expiresIn;
		this.lastTime = lastTime;
	}

	public String getTicket()
	{
		return ticket;
	}
	public void setTicket(String ticket)
	{
		this.ticket = ticket;
	}

	public int getExpiresIn()
	{
		return expiresIn;
	}
	public void setExpiresIn(int expiresIn)
	{
		this.expiresIn = expiresIn;
	}

	public long getLastTime()
	{
		return lastTime;
	}
	public void setLastTime(long lastTime)
	{
		this.lastTime = lastTime;
	}
}